package com.yanqu.road.logic.activity.tomb.config.entity;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yanqu.road.utils.property.Property;
import com.yanqu.road.utils.serialize.StringToListInt;
import com.yanqu.road.utils.serialize.StringToProperty;
import com.yanqu.road.utils.serialize.StringToPropertyList;

import java.util.List;

public class ActivityTombRank {
    private int activityId;
    private int id;
    private String title;
    private String desc;
    private int type;
    @JsonDeserialize(using = StringToProperty.class)
    private Property rewards;

    @JsonDeserialize(using = StringToProperty.class)
    private Property masterRewards;
    @JsonDeserialize(using = StringToListInt.class)

    private List<Integer> params;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Property getRewards() {
        return rewards;
    }

    public void setRewards(Property rewards) {
        this.rewards = rewards;
    }

    public Property getMasterRewards() {
        return masterRewards;
    }

    public void setMasterRewards(Property masterRewards) {
        this.masterRewards = masterRewards;
    }

    public List<Integer> getParams() {
        return params;
    }

    public void setParams(List<Integer> params) {
        this.params = params;
    }
}
